package homework;

import java.util.Scanner;

public class judge2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个数：");
        int num = sc.nextInt();
        if (num%7==0)
        {
            System.out.println("此数为7的倍数");
        }else
        {
            System.out.println("此数不为7的倍数");
        }
    }
}
